from django import forms 
from articles.models import *

class ArticleForm(forms.ModelForm):
    class Meta:
        model = Article
        fields = ('title','author','journal','publication_date',)

class ArticleNoteForm(forms.ModelForm):
    class Meta:
        model = ArticleNote
        exclude = ('article',)
